#ifndef TERRAINWINDOW_H
#define TERRAINWINDOW_H

#include "ABWindow.h"
class TerrainInterface;

class TerrainWindow : public ABWindow
{
public:
	TerrainWindow();
	virtual ~TerrainWindow();

	bool Setup(HWND a_parent, HINSTANCE a_hInst, int a_xPos, int a_yPos, int a_width, int a_height, char* a_pWindowName, char* a_pClassName, DWORD a_style);

	virtual void Command(int a_id, int a_cmd, LPARAM a_msg);

	void Update();

private:
	TerrainInterface* m_pInterface;

	//Hold onto the class name in order to unregister upon deletion. This allows for the window to be recreated
	char* m_pClassName;
	
};

#endif //TERRAINWINDOW_H